<div class="app-content">
    <a id="btn_share_weibo" class="am-btn am-btn-danger am-radius">
        <i class="am-icon-weibo"></i>
        微博
    </a>
    <a id="btn_share_weixin" class="am-btn am-btn-success am-radius">
        <i class="am-icon-weixin"></i>
        微信
    </a>
</div>
<script type="text/javascript">
    WB2.anyWhere(function (W) {
        W.widget.publish({
            action: "pubilish",
            type: "mobile",
            language: "zh_cn",
            default_text: "<?= $InputData['default_text'] ?>",
            refer: "y",
            default_image: "<?= $InputData['default_imgs'] ?>",
            id: "btn_share_weibo"
        });
    });
</script>